package com.five.dao;

import com.five.entity.BusinessActivities;

import java.util.List;
import java.util.Map;

public interface BusinessActivitiesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BusinessActivities record);

    int insertSelective(BusinessActivities record);

    BusinessActivities selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BusinessActivities record);

    int updateByPrimaryKey(BusinessActivities record);

    List<BusinessActivities> selectByActivitiesType(String activitiesType);

    List<BusinessActivities> selectNoOpenGroupActivities(Integer openGroupState);

    List<BusinessActivities> selectByUserId(Integer userId);

    List<BusinessActivities> selectActivitiesByName(String activitiesName);

    List<BusinessActivities> selectNewBActivitiesByNumber(Map<String, Object> params);
}